package com.flanz.apache.velocity.uimocker;

import java.util.concurrent.RejectedExecutionHandler;
import java.util.concurrent.ThreadPoolExecutor;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class MyRejectedExecutionHandler implements RejectedExecutionHandler {
	private final Logger LOG = LoggerFactory
			.getLogger(MyRejectedExecutionHandler.class);

	@Override
	public void rejectedExecution(final Runnable paramRunnable,
			final ThreadPoolExecutor paramThreadPoolExecutor) {
		LOG.error("rejectedExecution: runnable: {} threadpoolexecutor{}",
				paramRunnable, paramThreadPoolExecutor);

	}

}
